{include file="shop/showstore/common/goods_layout" /}

	<link href="__SHOP_DEFAULT__/css/shop.css" rel="stylesheet" type="text/css">
	<link href="__SHOP_DEFAULT__/css/shop_custom.css" rel="stylesheet" type="text/css">
	<link href="__SHOP_DEFAULT__/store/style/<?php echo $store_info['store_theme'];?>/style.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="__SITE_RESOURCE__/js/member.js" charset="utf-8"></script>
	<script type="text/javascript" src="__SHOP_RESOURCE__/js/shop.js" charset="utf-8"></script>
	<div id="store_decoration_content" class="background" style="<?php echo $decoration_background_style;?>">
		



<?php if(!empty($decoration_nav)) {?>
  <style>
<?php echo $decoration_nav['style'];?>
</style>
  <?php } ?>
  	{block name="content"}{/block}
  <div class="clear">&nbsp;</div>
</div>
{include file="common/footer" /}
<script type="text/javascript">
$(function(){
	var storeTrends	= true;
	$('.favorites').mouseover(function(){
		var $this = $(this);
		if(storeTrends){
			$.getJSON('{:url("shop/Showstore/ajax_store_trend_count")}?store_id=<?php echo $store_info['store_id'];?>', function(data){
				$this.find('li:eq(2)').find('a').html(data.count);
				storeTrends = false;
			});
		}
	});

	$('a[nctype="share_store"]').click(function(){
		<?php if (session('is_login') !== '1'){?>
		login_dialog();
		<?php } else {?>
		ajax_form('sharestore', '分享店铺', '{:url("member/snsindex/sharestore_one")}?inajax=1&sid=<?php echo $store_info['store_id'];?>');
		<?php }?>
	});
});

</script>
</body></html>